package com.gitee.wsl.compose.mvi.ui.column

import androidx.compose.runtime.Stable
import com.gitee.wsl.compose.mvi.ui.divider.DividerInteractor
import com.gitee.wsl.compose.mvi.component.base.Interactor
import com.gitee.wsl.compose.mvi.modifiable.interactable.InteractableModifier


data class ColumnInteractor(
    override val modifier: InteractableModifier = InteractableModifier,

    /**
     * The [Interactor] of the divider. If it is not null, then the divider will be used.
     */
    val divider: DividerInteractor? = null,
) : Interactor(modifier) {
    companion object {
        @Stable
        val Default = ColumnInteractor()

        @Stable
        val Divided = ColumnInteractor(divider = DividerInteractor.Default)
    }
}